package mapper;

import org.apache.ibatis.annotations.Param;
import entity.Flower;

import java.util.List;

public interface FlowerMapper {
    List<Flower> getFlowers(@Param("flower") Flower flower,
                            @Param("pageBegin") Integer pageBegin,
                            @Param("pageSize") Integer pageSize);
    int count(@Param("flower")Flower flower);
    int insert(Flower flower);
    int delete(@Param("flower") Flower flower);
    int update(Flower flower);

}
